package com.rentong.cust.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rentong.common.annotation.Excel;
import com.rentong.common.core.domain.BaseEntity;

/**
 * 结算单对象 cust_jiesuan_list
 *
 * @author ruoyi
 * @date 2025-01-02
 */
public class CustJiesuanList extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 结算单明细的id
     */
    private Long jiesuanListId;

    /**
     * 结算单的id
     */
    @Excel(name = "结算单的id")
    private Long jiesuanId;

    /**
     * 结算单的日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算单的日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jiesuanTime;

    /**
     * 工程名称
     */
    @Excel(name = "工程名称")
    private String jiesuanListName;

    /**
     * 工程量
     */
    @Excel(name = "工程量")
    private String gongchengliang;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String danwei;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private Long danjia;

    /**
     * 合价
     */
    @Excel(name = "合价")
    private Long hejia;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    public void setJiesuanListId(Long jiesuanListId) {
        this.jiesuanListId = jiesuanListId;
    }

    public Long getJiesuanListId() {
        return jiesuanListId;
    }

    public void setJiesuanId(Long jiesuanId) {
        this.jiesuanId = jiesuanId;
    }

    public Long getJiesuanId() {
        return jiesuanId;
    }

    public void setJiesuanTime(Date jiesuanTime) {
        this.jiesuanTime = jiesuanTime;
    }

    public Date getJiesuanTime() {
        return jiesuanTime;
    }

    public void setJiesuanListName(String jiesuanListName) {
        this.jiesuanListName = jiesuanListName;
    }

    public String getJiesuanListName() {
        return jiesuanListName;
    }

    public void setGongchengliang(String gongchengliang) {
        this.gongchengliang = gongchengliang;
    }

    public String getGongchengliang() {
        return gongchengliang;
    }

    public void setDanwei(String danwei) {
        this.danwei = danwei;
    }

    public String getDanwei() {
        return danwei;
    }

    public void setDanjia(Long danjia) {
        this.danjia = danjia;
    }

    public Long getDanjia() {
        return danjia;
    }

    public void setHejia(Long hejia) {
        this.hejia = hejia;
    }

    public Long getHejia() {
        return hejia;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getAddTime() {
        return addTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("jiesuanListId", getJiesuanListId())
                .append("jiesuanId", getJiesuanId())
                .append("jiesuanTime", getJiesuanTime())
                .append("jiesuanListName", getJiesuanListName())
                .append("gongchengliang", getGongchengliang())
                .append("danwei", getDanwei())
                .append("danjia", getDanjia())
                .append("hejia", getHejia())
                .append("addTime", getAddTime())
                .toString();
    }
}
